<?php
class Pageley_Config_Dummy {
	private $property;
	private $otherProperty;
	
	public function setProperty($value) {
		$this->property = $value;
	}
	
	public function getProperty() {
		return $this->property;
	}
	
	public function setOtherProperty($value) {
	    $this->otherProperty = $value;
	}
	
	public function getOtherProperty() {
	    return $this->otherProperty;
	}
	
	public function __construct($property = null, $otherProperty = null) {
		$this->property = $property;
		$this->otherProperty = $otherProperty;
	}
	
	public static function getInstance() {
		return new Pageley_Config_Dummy("factoryMethod");
	}
	
	public function equals($object) {
	    if($object !== null) {
		return $this->getOtherProperty() == $object->getOtherProperty()
		    && $this->getProperty() == $object->getProperty();
	    }
        return false;
	}
	
	public function __toString() {
	    return "dummy [" . $this->property . ", " . $this->otherProperty . "]";
	}
}